﻿@model List<Wicresoft.UnifyShow.Business.SLAInfoModel>
@{ List<Wicresoft.UnifyShow.Business.SLAInfoModel> SLAInfoModel = Model;}
<table class="talbe_gray" width="785" border="0" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td class="altrow">
                ID
            </td>
            <td class="altrow">
                摘要
            </td>
            <td class="altrow">
                优先级
            </td>
            <td class="altrow">
                状态
            </td>
        </tr>
        @foreach (var pm in Model)
        {
            <tr>
                <td>
                    @pm.ID
                </td>
                <td>
                    @pm.Summary
                </td>
                @if (@pm.Priority == 1)
                {
                    <td>
                        高
                    </td>
                }
                @if (@pm.Priority == 2)
                {
                    <td>
                        中
                    </td>
                }
                @if (@pm.Priority == 3)
                {
                    <td>
                        低
                    </td>
                }
                @if (@pm.Status == 0)
                {
                    <td>
                        草稿
                    </td>
                }
                @if (@pm.Status == 1)
                {
                    <td>
                        授权请求
                    </td>
                }
                @if (@pm.Status == 2)
                {
                    <td>
                        变更请求
                    </td>
                }
                @if (@pm.Status == 6)
                {
                    <td>
                        已排期
                    </td>
                }
                @if (@pm.Status == 7)
                {
                    <td>
                        正在执行
                    </td>
                }
                @if (@pm.Status == 8)
                {
                    <td>
                        暂停
                    </td>
                }
                @if (@pm.Status == 9)
                {
                    <td>
                        已拒绝
                    </td>
                }
                @if (@pm.Status == 10)
                {
                    <td>
                        已完成
                    </td>
                }
                @if (@pm.Status == 11)
                {
                    <td>
                        已关闭
                    </td>
                }
                @if (@pm.Status == 12)
                {
                    <td>
                        已取消
                    </td>
                }
            </tr>
        }
    </tbody>
</table>
